package com.example.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot.entity.ItineraryHighlight;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ItineraryHighlightMapper extends BaseMapper<ItineraryHighlight> {
    
    @Select("SELECT * FROM itinerary_highlight WHERE itinerary_id = #{itineraryId}")
    List<ItineraryHighlight> selectByItineraryId(@Param("itineraryId") Long itineraryId);
}